import service from '@/utils/request'

const WatchApi = {
  // ---------------手表----------------
  addWatch: function (data) {
    return service.post('watch', data)
  },
  deleteWatch: function (data) {
    return service.put('watch/delete', data)
  },
  editWatch: function (data) {
    return service.put('watch', data)
  },
  listWatch: function (data) {
    return service.get('watch/page', {params: data })
  },
  getWatchInfo: function (data) {
    return service.get('watch', {params: data })
  },
  // 获取使用人信息
  getLocaleActualUserInfo: function (data) {
    return service.get('equip/getLocaleActualUserInfo', {params: data })
  }
}

export default WatchApi
